package com.bcts.rrh.drawingboard;

import com.bcts.rrh.drawingboard.shapeview.GLLine;
import com.bcts.rrh.drawingboard.shapeview.Shape_3d;

import java.util.ArrayList;

public class SketchData {//用来存放页面数据
    public ArrayList<Shape_3d> alBN;//物体列表
    public  ArrayList<GLLine> linesList;//线列表
    public DrawBgImg bg;//背景

    public SketchData(){//新建页面初始化，背景图片-1代表无背景
        this.alBN=new ArrayList<Shape_3d>();
        this.linesList=new ArrayList<GLLine>();
        this.bg=new DrawBgImg(-1);
    }

    //保存页面数据
    public SketchData(ArrayList<Shape_3d> alBN,ArrayList<GLLine> linesList,DrawBgImg bg){
        this.alBN=alBN;
        this.linesList=linesList;
        this.bg=bg;
    }
}
